Ext.define('BM.controller.Mains', {
    extend: 'Ext.app.Controller',
	views: ['main.TokenBrowser','main.TokenContextMenu','main.BoxContextMenu','main.ShortSutButton','main.FilterButton','main.BoxGroupButton',
			'main.TokenGroupButton','main.TokenOrderInfo','main.CostDetailList','main.BoxBrowser'],
	stores:['Tokens','CostDetails','Boxs'],
	models:['Token','CostDetail','Box'],
	
    init: function() {
    
         this.control({
           
        });
    },
    //显示单据信息
    onShowOrderInfo:function(){
    	
    	var _property = Ext.widget('tokenorderinfo');
    	_property.setSource({
		    '1.手牌编号': '116',
	        '2.标准记费': '每小时50',
	        '3.登计时间': '2011-7-28 12:30:45',
	        '4.已用时间': '5小时',
	        '5.已交压金': '30元',
	        '6.消费金额': '80元'
		});
    }
    
});